#example of use python to directly call trade api.

import os
import ctypes
class TradeService:
    def Initialize(fname):
        self.__dll = ctypes.cdll.LoadLibrary(fname)

        return False

    def EntrustOrder(code,dir,amount,price):
        self.__dll.EntrustOrder()
        return -1
    def QueryOrder(orderid):
        self.__dll.QueryOrder(orderid)
    def CancelOrder(ordid):
        self.__dll.CancelOrder(orderid)
    def Buy():
        pass
    def Sell():
        pass

def mainTest():

        return Fase
